package com.ruoyi.workorder.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工作联系单-图片对象 workorders_contact_image
 * 
 * @author ruoyi
 * @date 2024-06-11
 */
public class WorkordersContactImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工作联系单-图片主键 */
    private Long woImageId;

    /** 工作联系单主键 */
    @Excel(name = "工作联系单主键")
    private Long woId;

    /** 图片名称 */
    @Excel(name = "图片名称")
    private String woImageSrc;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date woImageDate;

    public void setWoImageId(Long woImageId) 
    {
        this.woImageId = woImageId;
    }

    public Long getWoImageId() 
    {
        return woImageId;
    }
    public void setWoId(Long woId) 
    {
        this.woId = woId;
    }

    public Long getWoId() 
    {
        return woId;
    }
    public void setWoImageSrc(String woImageSrc) 
    {
        this.woImageSrc = woImageSrc;
    }

    public String getWoImageSrc() 
    {
        return woImageSrc;
    }
    public void setWoImageDate(Date woImageDate) 
    {
        this.woImageDate = woImageDate;
    }

    public Date getWoImageDate() 
    {
        return woImageDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("woImageId", getWoImageId())
            .append("woId", getWoId())
            .append("woImageSrc", getWoImageSrc())
            .append("woImageDate", getWoImageDate())
            .toString();
    }
}
